package com.augurit.wf.common.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name = "JBPM4_HIST_PROCINST")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Jbpm4HistProcinst implements java.io.Serializable {
	
	// 属性
	@Id
    @Column(name = "DBID_")
	private Long procInstDbId;
	
	@Column(name = "DBVERSION_")
	private Long dbversion;
	
	@Column(name = "ID_")
	private String procInstId;
	
	@Column(name = "PROCDEFID_")
	private String procdefid;
	
	@Column(name = "KEY_")
	private String key;
	
	@Column(name = "START_")
	private Date start;
	
	@Column(name = "END_")
	private Date end;
	
	@Column(name = "DURATION_")
	private Long duration;
	
	@Column(name = "STATE_")
	private String state;

	@Column(name = "ENDACTIVITY_")
	private String endactivity;
	
	@Column(name = "NEXTIDX_")
	private Long nextidx;
	
	@Column(name = "PROCESS_DUEDATE")
	private Date processDuedate;

	
	
	public Long getProcInstDbId() {
		return procInstDbId;
	}

	public void setProcInstDbId(Long procInstDbId) {
		this.procInstDbId = procInstDbId;
	}

	public Long getDbversion() {
		return dbversion;
	}

	public void setDbversion(Long dbversion) {
		this.dbversion = dbversion;
	}

	public String getProcInstId() {
		return procInstId;
	}

	public void setProcInstId(String procInstId) {
		this.procInstId = procInstId;
	}

	public String getProcdefid() {
		return procdefid;
	}

	public void setProcdefid(String procdefid) {
		this.procdefid = procdefid;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public Date getStart() {
		return start;
	}

	public void setStart(Date start) {
		this.start = start;
	}

	public Date getEnd() {
		return end;
	}

	public void setEnd(Date end) {
		this.end = end;
	}

	public Long getDuration() {
		return duration;
	}

	public void setDuration(Long duration) {
		this.duration = duration;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getEndactivity() {
		return endactivity;
	}

	public void setEndactivity(String endactivity) {
		this.endactivity = endactivity;
	}

	public Long getNextidx() {
		return nextidx;
	}

	public void setNextidx(Long nextidx) {
		this.nextidx = nextidx;
	}

	public Date getProcessDuedate() {
		return processDuedate;
	}

	public void setProcessDuedate(Date processDuedate) {
		this.processDuedate = processDuedate;
	}
}